package com.jr.Service.Impl;

import com.google.gson.JsonObject;
import com.jr.Dao.IUsersDao;
import com.jr.Dao.Impl.UsersDaoImpl;
import com.jr.Pojo.Package_updates;
import com.jr.Pojo.Packages;
import com.jr.Pojo.Users;
import com.jr.Service.IUsersService;
import com.jr.util.PageHelper;

import java.util.ArrayList;
import java.util.Date;

public class UsersServiceImpl implements IUsersService {
    IUsersDao iud = new UsersDaoImpl();

    @Override
    public int queryAllDataCount(String id,String receiver) {
        return iud.selectAllDataCount(id,receiver);
    }

    @Override
    public ArrayList<Packages> queryAll(String id,String receiver,PageHelper ph) {
        return iud.selectAll(id,receiver,ph);
    }
}
